package com.cms.entity;

public class Student extends User {

  private String id;

  private String password;

  private String name;

  private String sex;

  private String admissionDate;

  private String major;

  private String grade;

  private String education;

  private Integer score;
  private String result;
  private String courseName;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id == null ? null : id.trim();
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password == null ? null : password.trim();
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name == null ? null : name.trim();
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex == null ? null : sex.trim();
  }

  public String getAdmissionDate() {
    return admissionDate;
  }

  public void setAdmissionDate(String admissionDate) {
    this.admissionDate = admissionDate;
  }

  public String getMajor() {
    return major;
  }

  public void setMajor(String major) {
    this.major = major == null ? null : major.trim();
  }

  public String getGrade() {
    return grade;
  }

  public void setGrade(String grade) {
    this.grade = grade == null ? null : grade.trim();
  }

  public String getEducation() {
    return education;
  }

  public void setEducation(String education) {
    this.education = education == null ? null : education.trim();
  }

  @Override
  public String toString() {
    return "Student [id=" + id + ", password=" + password + ", name="
        + name + ", sex=" + sex + ", admissionDate=" + admissionDate
        + ", major=" + major + ", grade=" + grade + ", education="
        + education + "]";
  }


  public Integer getScore() {
    return score;
  }

  public void setScore(Integer score) {
    this.score = score;
  }

  public String getResult() {
    return result;
  }

  public void setResult(String result) {
    this.result = result;
  }

  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }

}